
// 变量
$baseColor:#ff841d;
// 头部
header{
  height: 50px;
  background-color:$baseColor;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  // 设置子项在侧轴y轴的对齐方式 
  align-items: center;
  .logo{
    width: 185px;
  }
  .download{
    width: 34px;
  }
}

// 搜索
.search{
  height: 50px;
  // background-color: pink;
  padding: 10px;
  position: relative;
  input{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: #eee;
    text-indent: 2em;
    font-size: 15px;
  }
  button{
    background-color: $baseColor;
    color: #fff;
    position: absolute;
    padding: 15px 17px;
    border-radius: 15px;
    top: 10px;
    right: 5px;
    line-height: 0;
    font-size: 14px;
  }
}

body{
  color: #666;
}

// 首页导航
nav{
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  a{
    width: 25%;
    padding: 5px 0;
    font-size: 13px;
    img{
      width: 60%;
      margin: 0 auto;
    }
  }
}